package miracle.joker.design.builder;

public class BuildDemo {

    public static void main(String[] args) {

        Computer computer1 = new ComputerBuilder().setCPU("Intel Core i3")
                                                  .setRAM("8 GB")
                                                  .setStorage("1 TB")
                                                  .build();

        Computer computer2 = new ComputerBuilder().setCPU("Intel Core i7")
                                                  .setRAM("16 GB")
                                                  .setStorage("512 GB SSD")
                                                  .setGPU("NVIDIA GeForce RTX 3070")
                                                  .build();

        System.out.println(computer1);
        System.out.println(computer2);
    }
}
